package marchsoft.modules.four.admin.mapper;

import marchsoft.modules.four.common.entity.SafeType;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface SafeTypeMapper {
    @Select("select id,name from e_safe_type")
    List<SafeType> selectAllSafeTypeName();

    @Select("select id from e_safe_type where name = #{name}")
    Long selectID(String name);

}
